<?php
$this->menu=array(
	array('label'=>'List Batch', 'url'=>array('index')),
	array('label'=>'Manage Batch', 'url'=>array('admin')),
);?>

<td>
<?php echo CHtml::activeDropDownList($model,"[$index]id", CHtml::listData(User::model()->findAll("roles NOT IN ('admin','encoder')"), 'id','user'), array('prompt'=>'Select users...')); ?>
	<?php echo CHtml::error($model,"[$index]name"); ?>
</td>